PostNLWooCommerce\Utils A

Total Complexity 66
Dependencies 2
Dependents 16
Total lines 442
Lines of code 211
Logical lines of code 102
Comment lines 178
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
fields_generator()
A
45 15 42
parse_args()
A
47 14 33
unset_empty_values()
S
63 4 11
get_shipping_zone()
S
66 4 8
get_hour_min()
S
64 3 10
is_json()
S
68 3 7
convert_data_key()
S
70 2 6
check_available_currency()
S
70 2 6
generate_tracking_url()
S
59 1 15
maybe_convert_km()
S
73 2 4
get_label_response_type()
S
61 1 14
days_of_week()
S
62 1 11
remove_prefix_field()
S
78 1 3
get_available_country()
S
79 1 3
use_available_country()
S
78 1 3
maybe_convert_weight()
S
79 1 3
get_base_state()
S
75 1 4
get_tracking_note_type()
S
81 1 3
generate_label_name()
S
78 1 3
get_uom()
S
80 1 3
used_api_uom()
S
81 1 3
get_base_country()
S
75 1 4
use_available_currency()
S
79 1 3
get_woocommerce_currency()
S
80 1 3
get_available_currency()
S
78 1 3
get_log_url()
S
80 1 3